package czy.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

/* 默认情况下所有Controller都会被扫描，这个可以保证被忽略 */
@ApiIgnore("这是被忽略的接口")
@RestController
@RequestMapping("/ignore")
public class IgnoreController {

    @GetMapping()
    public String ignore(){
        return "这个接口应该被忽略";
    }


}
